﻿Namespace Ita.ProElicere.Dao

    Public Interface IBasicCrudDao(Of T)
        Function Insert(currentUser As String, entity As T) As Integer
        Function Delete(currentUser As String, entity As T) As Integer
        Function Update(currentUser As String, entity As T) As Integer
        Function Load(currentUser As String, entity As T) As T
        Function SelectAll(currentUser As String) As List(Of T)
    End Interface

End Namespace

